//
//  IFlyVoiceWakeupDelegate.h
//  AIKITDemo
//
//  Created by xyzhang on 2023/3/14.
//

#import <Foundation/Foundation.h>

@protocol IFlyVoiceWakeupDelegate <NSObject>

- (void)onBeginOfSpeech;

- (void)onEndOfSpeech;

/// 音量反馈，返回频率与录音数据返回回调频率一致
/// - Parameter volume: 音量值
- (void)onVolumeChanged:(NSUInteger)volume;

/// 会话结束
/// @param errorCode 错误码
- (void)onCompletedWithErrorCode:(int)errorCode;

- (void)onResultStr:(NSString *)resultStr;
@end
